import { mockUser1 } from '../../../../../tests/mocks/user';

export const GOOGLE_RSVP_USER = 'test@gmail.com';

export const getGoogleRSVPIcs = (externalID: string) => `BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
DTSTART:20230319T120000Z
DTEND:20230319T123000Z
DTSTAMP:20230219T120000Z
ORGANIZER;CN=${mockUser1.defaultEmailAlias || ''}:mailto:${mockUser1.defaultEmailAlias || ''}
UID:${externalID}
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=${GOOGLE_RSVP_USER};X-NUM-GUESTS=0:mailto:${GOOGLE_RSVP_USER}
RECURRENCE-ID:20230419T120000Z
CREATED:20230219T120000Z
DESCRIPTION:
LAST-MODIFIED:20230219T131151Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Test google rsvp
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR`;
